rename factory folder to factories