created the addActivity to add a class to the DB