Added gitignore. Changed brake_mode calls to use stop_mode