Move qp() functions into file of its own

Works via vendor/autoload.php

composer.json reflects changes

Just to illustrate in #100