[issue #660][feature]:  Refactor internal-api module to have less dependencies on 3d party libraries 

Created new module 'util'