This commit isolates the invoice registry in a separate package. It is a preparation for the creation of an invoices sub server.