Refactored & documented native driver module