moved 'fortune cookies' functionality into module.