WIP: Compiler and Selector

Initial version of a compiler.
Turn this into regexp object rather than string.