Parametrization

removed most of the hardcoded paths, added a config session.