Fix undefined classes used in code
Fix undefined classes in comments
Make code PSR-1 and PSR-2 compliant + some minor changes
Add composer.json
Merge pull request #1 from skremiec/master

Moderinze project to make it PSR-1, PSR-2 and Composer compliant