rm unused
extract config
uh..yeah..again..add the file
factor out reset