remove unused testcases
move library code to analects package