Added more documentation and Templates controller