Added next and prev links to page template. Moved config to separate namespace.