Code refactoring

Refactored a lot of code I wrote during summer internship:
- replaced nested `match ...  case` with a `for` comprehensions in many places
- removed radical exception catching from indexes manager
- changed code inspection group name to "SBT"
- fixed a couple of deprecated parts
- etc