From Model Based Specifications to Functional Prototypes