added operations on templates,
added pagination parameters to list operations