Just one class that organizes your php application in Tree with classes as Nodes which uses one API