extracted reparenting logic into separate module
new index format for requests
only show resources which are stored for a given application