many types of factories