Fixed java buildfiles. Java now builds to ./build folder, and fixed launch gateway webserver to deal with changes accordingly