minor cleanups
removed base64 dep; use RCurl if required
use data.table instead of plyr