Pass Silex app in correctly.

Add missing use statements, fix namespacing.