move state into var/ directory