used ruleset PSR2
added comment
changed copyright year
todo cleaning
removed some todo