added conf file + logging