Add command line parser / support passing extensions