put MainPage in separate module