HiTEC: Connectionist model of the interaction between perception and action planning