completed all the models and migrations for base

@stephtzhang please approve