Added flash messages and application skeleton in process