Configure a monitor database, if requested

This adresses #11