Cleaned up logging
Made the TTL value an initialization option in NewServer