Added main platformer code