Addition of my old database module

There are still quite a bunch of stuff to do to this module but it was one of the first modules planned for the IBC module library. This also had event listener management at one point that *should* be added back into the main object class.

Signed-off-by: Matthew Potter <mdpotter@gmail.com>