rename __exports__ to $$mainApp