rough draft of config file parser