cleaned up the build system a bit and added a new library called runcfg to handle command line arguments.