Add basic query, with example list_keys() function

@rszabo50, this is a start.