more refactoring (mind changing) and added activity streams wrapper. Will
change the way path variables are handled tomorrow to use a real URL
template.