add input and command line option parsing