Added globals stuff, removed "compile" tool