Refining service provider so that it now works in a Silex app. Small theme template tweaks.