Adding mariadb java client and updating code for workupload.