added events vector
added tasks vector
moved classes to separate files