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

Consider making this its own class file.