Lots of changes.

Added new code to run scenarios through network. Rearranged file
structure.