declarative page and loader