Add API

I needed to be able to call the cache buster as-needed so I created an API for it.

Kept all existing functionality.