implementing config file parsing etc