cleaup unused code, and refactor build_fetcher
job.restart and build.restart