Networking database Solution

Here is another challenge to resolve and I’m hoping somebody have already gone through this.
I have a need to build a MEMBERS list based on typical multilevel networking scheme. Another words UPLINE -> MEMBER -> DOWNLINE

Member is always signed in by the UPLINE and then builds his team (called DOWNLINE). MEMBER will always have only one UPLINE and will have many DOWNLINES. The challenge here is that I want to build a tree like structure which will visually present the group structure. Very much like the Folders structure in the File Manages on a PC. I would also need to be able to Expand/Collapse the branches and be able to show details. The main question is how to structure the database. I already have a general idea and a view but would like to here others opinions on possible challenges, pitfalls and problems.

Thank you
Arthur