Resolves #35 - added optional configure callback to App\SampleApp equivalent that happens before session or database are started