Currently selected classes are now available via a getter method

resolve issue #171
close issue #171