added getActivity class

getActivity class provides methods that return activities given a
userId or the friends activity