Implemented basic player class.