added basic comments to app and app mediator