Added reading parameters from commandline and most of Python testing script