add local datomic storage and main function