Extract helpers
Get rid of COMPILED_DIR variable

Makes prompts easier to test
Update tests to use their own compiled prompt location