Added initial module core and few functions to module database