cdn, logging

cleaned up cdn process.  working random cdn testing functional