Made the backend handle each message type separately
Merge pull request #54 from Rubykuby/separateokmessage

Made the backend handle each message type separately