Fix download reference genome after refactoring class