Added simple messaging system to the API.