Database engine for WebsiteBaker and LEPTON CMS