selector is now an interface
tests added
Merge pull request #7 from EricChiang/dev

Dev