The Factorization Method, Self-Similar Potentials and Quantum Algebras