re structured directories so graphs are no longer in js