refactoring, added icons in contracts tree view