moved activity metadata to class