move time fxn around, fix documentation
expand archiver API to accept units of time

Also planning on expanding the query language to allow specification of
units of time when entering timestamps