refactors indexjs.
moves inquirer mapping to own class
adds possibility to override arguments and options