Refactor client side game logic code

Made some major refactoring in the following files:

socket.js (now socket-handlers.js)

new files:
init.js
enemy.js
user.js

Everything should be good to go, but keep your eyes open for bugs