Added ability to use multiple templates and also added client folder