implementing offline mode.
adding the manifest file type (to support offline mode).