Basic implementation of page templating and theming improvements.