WIP: Compiler and Selector

Initial version of a compiler.
why does this need to be a inner closure. Can this be a instance or static method. Those are a lot more efficient.