Added cache for standalone files. Added 'rescan' and 'clean' commands.