use DBIx::Simple::Class in your Mojolicious application