created initcommitsdb(), which just connects the commit database on localhost and returns the most useful tables to the global environment.