setup rootAppSource at startup