Adding foreing keys management to the sqlite database and the event actions
Adding an example of relationship management to the sample code