add convenience constructor generation
update command line parser