Diamond database builder
========================
