Text this: Development Of an Intelligent Controller For Power Quality Enhancement Of Microgrid