Adds rudimentary argument parsing