Coding standards PSR-2

Make the code compatible with the coding standards PSR-2