moved template to svealib