Moved ref impls into context dir. Removed unused funcs
Fixed vr.getFrom
Improved mapping code a bit
Fixed object literals: redefining values should error