MainController added.

MainController added.