Update uri structure
Let user configure wether he wants to use env or not
Add a depth parameter to handle the way files are stored