A Multi Agents Model for Extended Factory Production Management