sample of db stuff in a package, handlers in a package using db stuff