Moves models to config file