Adds doctrine

We are using doctrine for database handling