Wrapper around consul api