Multi-Layer Support for Component-Based Cyber-Physical Systems Applications