add page loader and refine pom