move all codes into jobqueue-client