caching implemeted

- Foreman connect only if cache not valid
- caching implemeted with shelve object store