Feature/clear cache

Fixes #4