Added Exception handling
Changed url generator service
Grouped all services into core init
Coding style