add documentation, external config file