Multple apps support for ZAS

Support for multiple apps for ZAS. Used in junction with ZAT.