added a boltdb reference to the app constructor