Refactoring code. Making changes such that the package to sensor map is unchanged till the package is uninstalled