Convert player into a class