add tracking,  clean up main
use own daemon