Prototype implementation of a scalable real-time dynamic carpooling and ride-sharing application