Added method to view templates, replace template tokens with data values and added view for clients