Class for flashing messages to user