Remove mid_component from layout/application and placed in main/index