Create BaseObject.java