putting together and troubleshooting mosaicking.  This code is not complete and is being pushed for backup reasons.