supprot for thread safe execution of appier and new support for mime type string validation