add api to get file metadata
add versions text file to bootstrap to track which version is currently being used.
use api to update tag tree using ajax.