Version bump to 0.0.23
refactor logger, add pem pass and logger level