Got Pages working with basic functionality