Generates models and database relation skeleton