add rest service and rest application