Create MainComponent