ortooResource moved into $resource + test scripts