Sanity fixes

See this as a kind of proposal.

Things that have been done:

- Sanitized code for less scrutinizer issues
- Moved the ServiceProviders to Provider folder, like Silex does it.
- Removed some unused 'use's and an unused variable.