creates a components inside its own directory