Set state variables to use the library

Set the state variables to use the constants in the library instead of defining them in every script.
Convert script to argparse

For details on why this was done see README file features section.
Convert script to use argparse

For details on why this was done see README features section.