fixed #43
adding defaults file
added logging messages