create modul class for creating moduls from xml, not tested yet