prep for moving config and commandline parsing to library