Database code added. DOES NOT BUILD.