A Novel Market-Based Multi-Agent System For Power Balance And Restoration In Power Networks