Implement event process
Init code for server process