added abstractclass for activities