Moving sinatra stuff from global scope
Refactor some more
Stop chasing non-existing regexp bug. It's JSON.parse that is the real culprit
Revert changed config
Update main_component part of configuration
Merged modular-sinatra branch