Init rest application class