changed to support inheritance

Character was broken up to Entity parent class. and Player is a child of
Entity