Architecture and Design for Industry 4.0 Theory and Practice