fixed some problems with IoC resolution for invoice and payment DAOs