Added withApp() wrapper.
Renamed data dir to apps.
Renamed data.json to init.json.