add getList method to get list of entities