set up autotool
add gtest
implement splitter
implement
update README
update README
update autotools configs for git
add TESTS
add test for invalid type
add build-aux/git-version to dist