add config file
refactor
add test for collect.py
add init file