code tree is built by parser

* also, make logger less anoying to read