Implement initial DATABASE global.

Signed-off-by: Zach Bennett <xslingshot@gmail.com>