refactored the directory structure a bit, more work on entities, aded phpunit for testing and phinx for migrations