Text this: Control and implementation of multifunctional microgrid with seamless synchronization capability