introduce App.view_path and App.layout_path, closes #767