Got the basics of connecting a component to ejabberd.