added method for reading and writing files
Merge pull request #4 from anelanna/master

added method for reading and writing files
Merge pull request #6 from drblinken/master

socket.io connection and disconnection detected
fixed client counter