Refactoring to make the app more testable.
select(*).option(value) seems to select on a substring base