fix old api used in sample application
sample application to be up navigation
cleanup
readjust packages
migrate to gradle