add basic cookie functions

Added createCookie, readCookie, eraseCookie functions
Calibrated values now stored in cookies. Fixes #13
Add millisec suffix to time variables.