adding doctrine to project