moved Pages package into main/java