refactor paths and move root pom to root