included superobject as dependency for portability
added auto-flush feature with multiple database support