Added input detection.
Added character movement.