Added template for activity stream and changed class