Implemented player classes and fixed sql statement parameters