Abstracting socket.io on client.
Changed order of dependencies.
Fixed reoccured view bug after refactoring.