Remove useless imports
Ignore log and pid files