initial rework of the view mod and its API.. not complete