Refactoring: Move code to namespaces

* Split controllers into separate classes
* Use namespace with autoloader psr-0