migrating parser to json format, adding ArgParser. closes #1