reformat some code
Merge pull request #4 from Doomsta/psr2

reformat some code to comply with the PSR-2 standard