implement configuration file
initial working prototype