Splitted up QueryBuilder into interfaces