added offline mode and favicon