dev::context module - context logic implementation