Added tab-view directives. Cleaned up routing.