I really like your work. The only thing I don't like is the `getResults($args)` function, as it uses `$args` as the only parameter. I think we shouldn't introduce any new functions using `$args` and rather go for the following, no?
```php
public function getResults($q, $firstPage, $searchtype ='AND', $searchorder ='newest', $numlimit = -1, $page = 1)
```