added NotificationType 'Success', moved createnotificationhtml to Notification class