changing main routine to return an int to avoid stupid microsoft prompt asking if the application installed properly