added tests, restructured a bit
Merge branch 'master' of github.com:mikedugan/sprintly-php