initial version as part of #2 implementation
fixed #4 (Invalid cache directory, by moving code out from constructor)
fixed #2 (permanent cookies), by adding CookieJar
added cookiejar files