maven-like layout refactoring