added interface class

this allows you to toggle the selected set of the container
updated code to handle selection