Updates

Added a Logger class to simplify the logging process, sanitized all URL
input, added comments.