refactor cmake lists and migrate test case.
remove useless debug line.
remove autotools files.