Factory Design and Layout Optimisation