clean up of the configuration interface and impl.
small adjustements to the configuration api