created Config, install function and updated xml