Initial commit of first version detection algorithm and test files.