Added getParameters function and --list-parameters option, Related #5