Better routing and loading

Made page routing more logical,
made loading go much faster.