Changed edge -> Edge
Now also location has a public interface.
renamded class location -> Location