Refactor configuration, actually build, begin adding logging.