Add models, API query class, and buttons to do test queries.

Same here.