Inital version of template with eventserver