Integrate basic database system. Closes #6.