rm unused stuff
Add log generator