Softwarization and Virtualization in 5G and Beyond: from Theory to Practice