Text this: Modeling of the Battery Pack and Battery Management System towards an Integrated Electric Vehicle Application