added models, tables, and migrations

This needs to go in a different pull request.