enhc: refactor exposed functions, readme