Create AbstractModel.java

Abstract model class for the common stuff of all the other models