[#56945538] use a class to create the app armour file.
[#56945538] add some requires to make sure things exist.