Added API methods
added everything and messageManager stuff