add router, and pages