Migrated flash messages and adapted to API changes.
Added flashes express view helper.