Basic DB

Closes #17