add logging deps
clean code and improve documentation
improved ReadMe