[LogGen] Refactoring LogGen and maven pom