A carpooling and carsharing platform