finished database setup

@zachmokahn @harrysboileau 

Check out our preliminary migration and models, please.