better API for MultiApp. Still to be finished