Connect to and query a datomic database

As on issue #28