CMS-2035 QueryAPI: Create interfaces and structure

Some more testing of structure
CMS-2035 QueryAPI: Create interfaces and structure

From interfaces to implementations
CMS-2035 QueryAPI: Create interfaces and structure

Moved from api-package