Add base controller.

Move '/' routing from app.rb to the base controller.