Added ActivityModel class. Member activity is saved into the database by set method on ActivityModel class.