Added vendor/ and composer.lock to gitignore; Added composer.json to
make th installation easier;
Reformat the code using PSR1/PSR2 guidelines; added comments to some methods; Removed unnecessary returns;