set root view controller on main window
Merge pull request #619 from cwhitesyp/rootvc

set root view controller on main window