Class to flash messages to user - with testing