Production Management with Bills of Material and Routings