This translates to:
-- /usr/applications: system wide applications
-- /opt/applications: removable applications
+- /var/local/lib/afm/applications
-From here those paths are referenced as: "APPDIR".
+From here this path is referenced as: "APPDIR".
The main path for applications is: APPDIR/PKGID/VER.