create basic models and tables