Made everything compileable.
Needed to change some things for that, put a TODO behind stuff i wasnt
sure about.