Lift some function into fs module.
Routed some member method to function in context.
Added test for context module