Inside Sprog::ClassFactory 

sub make_app {
  my $factory = __PACKAGE__->new(@_);

  $factory->inject('/app' => 'Sprog');

  return $factory->make_class('/app', factory => $factory);
}