improoved logging, added comments, changed installer database directory