API::Table class and API::Query class