refactored extensions folder