added rest app to use async rest