Fixed logging throughout the server. Changed server config so multiple calls to redis.on('ready') didn't reconfigure the whole server. Extracted a bunch of functions that didn't need to be inside the server config section. Cleaner organization throughout.