Refactored initialize function of the Table object.
Abstract getList and getItem return promises.
Refactored getList and getItem to promises.