Wrote <appname>.yaml and __init__.py for all apps.

Also replaced `mod` by `bp`.