Refactored QuickSelection

Moved everything connected to QuickSelection to a separate class