Preparing config.xml and removed unused files.