Extract keyValue to shared/utils
Cleanup sql-import

* Common functions for common tasks
* Group smaller imports