More refactoring and docstrings.
More refactoring and docstrings.

lutoma/django-admirarchy,int-ua/django-admirarchy,idlesign/django-admirarchy,int-ua/django-admirarchy,lutoma/django-admirarchy,idlesign/django-admirarchy