I'd rather see you use the database.py class of dispersy, instead of creating yet another database class.