creates Player class to be used for inheritance