Added command line parser (simple, yes I know) so we can use this module in a multi-threaded enviroment down the road.