Add functionality to create closest facility layer

Add functionality to create closest facility layer