extracted a super class from the simplegamemodel