Making the Transit System Greener in a Smart Way