Started on the plugin api and added chat component api