update README and add logger