add error messages for client
refactoring: remove logger
add exts