Resource Management in Grids: Overview and a discussion of a possible approach for an Agent-Based Middleware