separte classes into models/views