code for child end upload app and activate logic
server end app upload,install,uninstall logic