modify deps as cpp source does not build with LLVM 3.5
add context methods
expand simple context impl and add tests