Controller methods added to define URL schema, and some work on templates