Flatten models directory