move load_travis_payload from service to library