Made new way to show pages
Added template inclusion parameters