Command and control for web apps based on apli_template