Added LoremGenerator class for all logic; Updated text form to use LoremGenerator class