WIP: Compiler and Selector

Initial version of a compiler.
same here.