move avl and list library into src/common