Defined application and application main resource (#1)