Basic 'dynamic' page functionality addd and tested for static_pages