Create direction class
Create an edge implementation