added code for testing import organization and restored files for AppResource and OrgResource