Adding the ability to query by tag

Closes #12