Moved the cookie jar in to it's own module.