simple flash messaging class