implemented events creation with core data

[10762032]