Modular models of task based visually guided behavior