Autonomous Distributed Frequency Control for the Management of Energy Storage Systems in Microgrid