Added initial version
Minor cleanup of test, added basic phpdoc
Full PSR-2 compliance