Implemented minimal Doctrine2 use and PHPUnit