Add command-line utility

Adds a command-line tool for building the cache