FORGE: A Framework for Optimization of Distributed Embedded Systems Software