Starting to build structures

Created some objects to keep track of followed links. My plan is to then
traverse the graph to find the highest weighted set of three nodes.
Fixed up classes

Should be creating something close to the correct graph now. Got rid of
superfluous classes that were only holding one thing - that's better
handled by a simple associative array.