made code more legible, moved all the messy stuff into functions into
termal_Server.c. Also the handler function is in there as well, may want to
move that to a separate file at some point especially as more handlers are
written.
Merge branch 'master' of https://github.com/knkp/IRC_Project
moved most of the messy code into functions, also moved the handler to the include file as well