Adding player.lua, and formatting main.lua