custom main view for our object
add a view to our template