Add PSR-2 as coding standard and add phpdoc