rename exports to mainApp