Activities boris

Attila, please review the activities API
@cdman