adding server logging with stats, plus tests
enabled global logging and client representation