Adding html files.
Refactoring: Cookie functions merged in cookie file.

Code still needs to be modified to adapt to this change.