split: Initial import

Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>

----

v1 -> v2

fixes