Adding WebApi for sites and templates and changing UI