Implemented basic offline mode