Created main server class

Used for starting the server