Completed the options of the swarm-query. Created the structure for other
queries
All records, system range and time range queries implemented. with some flaws
system range query does not work because system index is incorrectly
implemented. system index needs comparison functions