add graph
rework input stream
add unit test
add transformation estimation
add unit test
finish transformation estimation