Move player routines to respective file.