Added module init function. Creates config.json in config directory from module package.json.