bumped EntityTable maxId from (2^16) to (2^24) [3 bytes].
determining table to scan based on time range of scan query, setting appropriate count for timeseries query
Timeseries table querying and fixing TTL for entity table and comment improvements.