PSR-4 namespacing

Namespacing fixed for PSR-4 composer projects and added composer.json