add main compiler runner.
add scanner class.
fix dox