Add a way to manage settings stored in the database.

Closes #6.