Move app mechanism to flow.py

Disable apps while message passing is improved.
Decouple message type from message class name.
Introduce file descriptor decorators for Request objects

Which lets us enable the apps again, now running from flow.py