Implemented categories for flash messages. Closes #47.