Got apps/calc example running with view refactoring