Add logging and settings.