Creating ContactActivity class