Extracted makeTable function.
Added cookie plugin.
Added cookies.