WIP on permissions
Added permissions (currently not working) and deletion (not working), add folders now works, and descent into trees is tightened up