Code Cleanup, Optional Parameters

Cleaned up the argument handling to allow for the outpathPath to become
optional, meaning the program will print to the shell. (The shell output
could use some cleaning up though.)