Adds method to get list of tables