Set of utility functions for accessing and manipulating a sqlite database