Updated README and added logging