add logger class and example project