Pebble class experiment.

This isn’t used at the current time.
Fixed "expires:" header format error.

Added “dateformat” package. Plus some code reorganization.