Added a bunch of new files

GT loads external resources to build itself.  Nice JS design patterns
and variable protection.