Using Clouds for Smart City Applications