added async rest class, having failed on the last commit ;)