Functional 3rd-party app support implementation

May still be buggy, not ready for release. Required for: https://github.com/idrc/tecla-as/commit/267c2d518a7811a6976dc98b520d069d2049c44e