Improved readability with soem comments and made player.cs a seperate file.