implemented auto routing. Still needs to be cleaned up a bit, but it works and its just beautiful.