Created the server and a few events