implement basic activity service logic with abstract activity data structure