added basic keyboard controls.