Basic API wrapper.
Added an example of sending a message.