Reworked the structure in easy.  Added documentation.

Changed some stargate stuff.