Creating business module for managing team tree structure