Refactorated parts of TemplatePanel/RMText in exp

It is using and miniature of an MVC pattern.
Also updated ConcreteCVPanel and TemplatePanel from the view of our
project.