Use namespaces to follow the PSR2 specs
Some other issues were fixed as well