Css selector

Work in progress, still working as before, but now store values in metadata.

Ping @ellisonbg.