moving stuff into lib
implementing and testing fork indexing
0.2.0 adds forked indexing