Migrate the code to Maven