Setting up views and base pages