fleshed out UI and added widget to demo the api