Add pom.xml files and fix build for modeling projects.