Working Modules initialization method

Defining service for configuration instead of doing job in controller