Virtual factory for manufacturing education