Updated the database for better Doctrine integration. Added some design docs and updated the ERR diagram.