Added database generator. Briefly tested as working.

Signed-off-by: Paul G <p.ganssle@gmail.com>