Created a debug flag for logging.
Added some functions for killing and reloading servers with signals from pids.
Created a small simplified server class to implement servers easier.