Adds rudimentary commandline parsing