added pulling prompts from the database, refactored poem view to accept a container upon initialize