Moving drifting code to a DriftController class, which will also be used by clouds.