added optimist libary for option parsing