Removed debug application class
Implemented Doctrine DBAL
Added missing exception class