added compilation support, working on wiring in the ui