improve module config, save modul informations to db