Basically, imported Crate's plugin. Compiling but crashing.
Gets further than before but doesn't support non-longs/non-strings yet
First couple of tests passing, none of the hard stuff done yet though