adding chat server code and init.d wrapper
adding chat server code and init.d wrapper