Added scheduled event class to the database.