Merge pull request #3 from mgrilec/master

merge the update
Add entity namespace

Um.. require a directory means require the 'directory/index.js'
Add event directory with index inside

Add event directory with index inside, and separate the setting into
config directory same time.
Separate socket.io listen out, add update event
Add chat~

press F12, run 'clientChatSay('hello')' will work
leave some comment
Merge pull request #6 from Lellansin/master

Update server side change