AppModel, AppView, basic templates engine