A new approach for open quantum systems based on a phonon number representation of a harmonic oscillator bath