add rest application class