Updated idgen usage for the operation number
	Moved utility code to core module
	Added reference to idgen module in config
	Moved settings helpers and constants to ModuleSettings class