Languages, tasks and roles: modeling interaction through resources