Computationally efficient & Economically efficient Agent-based Fog Computing