refactored code to be OO js. Replaced old networking with socket.io client server (not tested yet)
same as last commit, just forgot to add some modified files
Merge branch 'master' of github.com:esuen/AstralRift

merge