class that handles JIRA connection and query