Text this: Loss Minimization of Distribution Systems by Coordinated Operation of Battery and EVs in the Presence of DGs