Create gallery model
Add validation to gallery model
Add flash messages to layout