Refactoring main to pipeline prompt methods; all prompts now accept Instance instance and operate on it