Modernize

Update styling to PSR-2 standards
Added composer.json
Added phpunit.xml to root for running tests