Grote update to engine. Almost finished.

BEWARE! WE ALL WORKED ON THIS.
(Danny, Roy, Stijn, Polly, Tedo)