Replaced db.clj with Datomic implementation