Make service factory non static.

The only parts of the code that should use the service factory are the controllers.
Then the services will define their dependancies by using Type Hinted variables in the constructor of the service.

Also removed exceptions.php and created each indevidual exception in the appropriate namespaced location