I have a Python-Flask app in which users can place files into a folder.
As of now the directory structure is something like:

    /app
        /storage
        /templates
        .
        .
        .
        server.py

The user can create directories and subdirectories within `storage` to organize files.

So far I am making AJAX calls to the server to get details of folders etc. and populate a dropdown list from which users can traverse the tree. It works, but it just doesn't feel right. What other approach could I take?