add database connections and version checker