Created the core of the server class