Move base model classes to new file. Add utils file