removed unused code, added CONST parameters, added command line argument

Created by  Michael Fogleman  on May 16, 2014
ACSSNXV42QLP5AJPQF5ZQJAC2BTIZULX3543SDQAJJT4LBETYF7AC
Change contents