Singleton implementation of mod_database class.
Needs some working out.
Merge https://github.com/brotheroftux/suhtlus