Embeddable repl

Woot! So, this is ugly, gross, and has many things wrong with it, but it seems to be *working*, which is what I want for now. 

I could use some advice on code structure and organization; I basically did the minimum necessary to make things work.

Thanks.