move list library into src/common