move class map from compiler to logger
add test
compilation logger has instance interface
retry getInstance in compiler failed

This is defensive function just in case. It may not needed.
new di compiler in wake up