build: rename helper library private -> core
encoding: comment unused functions