added entity baseclass and pull deps if phpunit is run