Custom Ejabberd Modules for Spark