New routing and view define functionality