Doctrine dbal

Linked with #144 

http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/query-builder.html