Simple database access library.