Basic build+deploy script and fixed class loader issues