add viewlet and template