Clean up organization of code
Save player position to the server after beaming