converted pointerlock controls to a coffee class