separating the hypergraph out of the main translate
getting rid of the run script
moving things around
adding in run script and optimizaiton
getting rid of hgraph references
moving more code around