refactor, cleanup, and also add a script to disable mouse acceleration