start creating models, cleanup io