First attempt at grade-school.
Ensured db cannot be altered outside of class.