Refactoring main method to assign prompt results to Instance instance; moved lots of run and post-run functionality to Instance