Update notes for submitted changes

* make accessing preferences and the database handler easier
Update notes for submitted changes

* replace logdebug with own logger class