Fixed cache to be nothing but cache
Added compilation functions
Undid changes to execution routines