Moved and renamed MainComponent