made charger and simulator classes