CQM-111 Code review for 1.1.0

* Now cqpkg is fixed according to shellcheck
* Fixed formatting of file
* Extraced filter functionalities