Design, Implementation And Assessment Of Nanogrid Building Blocks For Energy Secure Electrical Distribution Systems