renamed java package to match sample app and tweaked build scripts