Restructured the building process of JAR files