More work on categories tree -  issue #6