moved behavior into exposure set
exposure set now only needs list of classes
extracted a serializer object