There's no lib at all yet in this project, and I feel that fragmenting index in this PR is bit OT.