Refactored some variable names.
Refactored how the server socket channel is handled.
Updated the manner in which server configurations are passed around.
Implemented shutdown method for server and main method for starting up a server instance.