add object class, player class now inherits from object