Moved functionality from ../test_system to this full blown Dancer application