Added a flask API that can spits out JSON.

Plugins can be accessed by id or title.