There are three tutorials here that each cover a slightly different aspect on using vectors for motion and applying rotations to textures.
Uses the mouse location to move a texture from an origin point towards the cursor.
Calculate a directional vector between a source and target coordinate.
Use the directional vector to apply movement.
Rotate a texture so that it is always pointing at a coordinate (mouse cursor).
Move the texture towards the point that it is facing (mouse cursor)
Use the keyboard to rotate a texture clockwise, or anti-clockwise.
From the angle of rotation, calculate the directional vector so you can apply movement.