Changed chameleon templates for using inheritance.

Now we have a main template with sections that
are filled in other templates.