Massive commit that tries to find all the regions of the pitch. I'll
comment and refactor later since I have to leave now