Arrowhead

Cleaned up Classify.
Separated the region and shapes check into smaller functions.