add ResTable constructor and Load initialize function