added command line functionality and gradle app install