Refactor filterlist and add doc