Unified approach to the study of light and heavy mesons in the frame work of vacuum polarization corrected potential model