adding messages api

https://assemblymade.com/helpful/wips/4