OO arg parser

Made the argument parser an object. Config is an object not singleton.