Added support for external activity.  Added a bunch of files that were missed in the last push.