Moved Player class to its own file