Added initial source and tests for a selector parser