Flexible Goal-Directed Agents' Behavior via DALI MASs and ASP Modules