Simulation framework based on MASON to simulate heterogeneous networks and intelligent agents