Initial commit for database redesign
Finalized the migrations
Updated the codebase to reflect the db restructuring
Merge branch 'dbredesign'