core: start to implement os modules