Moved selectClass stuff to own function

Load abilities from JSON on select