Added "create layer from template" fulctionality

With this feature, users could create new layer starting from the template uploaded by the superusers. 

Please give me any feedback to improve this request.