Add cmake build system
Add source files
(TEMPORARY) Use init branch of eventsystem