set up autotool
add gtest
implement splitter
implement