offline cache: basic structure finished