A Sub-resolution Multi-phase Interstellar Medium Model of Star Formation and SNe Energy Feedback