Create a Factories object to contain the factories
Use a template for module factory