Create two services: get two cities and distance between them. Save it to MongoDB.; get distance between two cities from MongoDB. Use 'mvn package' to generate necessary java classes and to build the project.