Integrate composer

I moved your code in a module and setup an autoloader in composer.json. It is require that the functions.php requires the autoload of composer: "require __DIR__ . '/../vendor/autoload.php';"

It isn't finished because the module should create migration file and some htaccess are missing. Hope find a solution for it.

Cheers,

Robin