Added code to insert cities and workplaces