Device readings application in Perl's Dancer framework