Splitted config file
Added ModuleOptions class
Closure service factories where replaced with service factory classes