Integrated database. Closes #5.