how to build a factory of mills