add `__contains__` to functions
Refact `functions.flash` and `functions.get_fileserving`, not need to config relative Apps.