A Representation Based Approach To Visually Guided Motor Behavior