Added get_module_fields

Added missing function get_module_fields