Script to draw archetype trees
fixed a bug in IndexService class
added a tool that can be used to rebuild IndexService's database