Try modular style Sinatra.

As suggested by @peterhellberg.