adding module data mapper and modules from db