introduce rugged for internal api
port git start to rugged