move config out of tool package