Turned the server into a class. Probably going to do some additional retro-fitting and adding new goodies to it to make life easier... NEED MOAR TIME