Redesigned Player class to be of Entity type