Code base

Query getRecordsDesc() works, although it doesn't seem to sort the
duration in descending order. Might want to ponder on this solution a
bit.