Add flingResistance configuration option
Remove unused imports
Remove unused variables and methods