Add argument parsing.

Might need to update the makefile in order to link any of the new library headers.