Added support for cmd-line options

Signed-off-by: TheCodeArtist <cvs268@gmail.com>