added ability to specify selector
add option to specify filter and testing infrastructure; closes #24