Refactored sequence folder