Move MainPage controller to DotaTrack controller.

This will serve as our general controller with utility functions, etc.