hm.... on server you are not required that application should be Mojolicious class https://github.com/kraih/mojo/commit/14d4075d, but here you still require that: https://github.com/KES777/mojo/blob/master/lib/Mojolicious/Routes.pm#L147
just forgot?
because the server only requires something implementing a basic interface
but the routes code is specialised to mojolicious apps
this makes sense.