Re-architecture for programmable markets