Programmable infrastructure