My attempt at integrating CodeIgniter v3 and Doctrine 2