A COMPONENT-BASED MODELING APPROACH FOR SYSTEM DESIGN : THEORY AND IMPLEMENTATION