updated docs and made logger public