Text this: Design of a Resilient and Eco-friendly Microgrid for a Commercial Building