Implemented Player class