Pass database object to others using their constructors.
Prepare SQLiteDB class functions so it can be instantiated.