Added events into db and linked some of them.