added model, maintemplate, collection, view