Networking And Decentralized Control In Layered Networks: A Theoretical Study And Test-Bed Development