create model and its dependent classes in the place where all objects get created now