CLI flags

Adds command-line flags. The same flag names as the test tool are being used for overall consistency and feel. 

Updates #12 - CLI Flags
I don't understand, can you show some code.

I'm still confused about why `memProfileRate` is a variable not a constant. I know I keep harping on about this, maybe it's simpler to just do it the way I think it should work so I can see why it's a mistake.