adding optimist for cmd line parsing