created object class to be any abstract object in the game