load parameters before starting the services, fixes #205.
pep8 and import cleanup.