Designing Software Configurable Systems for Industry 4.0