convert ConfigurationResolver script into a module

Wrap ConfigurationResolver script in a standalone module.
Make setup.py specify the packages it is going to install.