Perl implemantation of a worker process framework to use machine learning libraries and frameworks