Adding environment on core. Closes #295

I'll add some docs on vr4 wiki before ship it.