Add some base features

Some base features have been added.
It is necessary to add more of functionality
Add the most important part of the model logic

Practically all has been added
But we have  trouble with polymorphizm
Fix the bug with polimorphizm

The bug has been fixed, but it is neccessary to add
the same logic (__lt__ and __gt__ methods to the event abstract class)