A Context-aware Agent-based Approach for Deregulated Energy Market