Added controller and updated flash_stack.rb