A Holistic Solution for Smart Grids based on LINK Paradigm