docblocks, etc

Add docblocks and psr fix so text editors won't freak out when generating auto completion