Scaffolding of models and connection