first revision of the split code, some instructions in the README file