protected function application()
    {
        // Initialize the Silex Application
        $applicationInitializer = new ApplicationInitializer;

        $app = $applicationInitializer->initialize();

        // Set the default services
        $defaultServices = new \Synapse\Application\Services;
        $defaultServices->register($app);

        // Set the application-specific services
        $appServices = new \Application\Services;
        $appServices->register($app);

        return $app;
    }