COST: Component-oriented simulation toolkit