move some basic functionality to pie.view from pie.activeView. let pie.activeView be a bit more event driven
fix todo app