Pom simplification. Better logs. Distribution script updated.