Several updated

- Added import method
- Updated lastModified method
- Updated write_cache method
- Updated init method