changed dispatch behaviour
Added tempalte chaching
Some refacotring; Controller now supports bootstrapping