You can pass it to your function like this:
..., function () use($home){
...
I think Slim also passes $app
as the first argument to your function.
Edit: actually it doesn't according to its docs, so you'll have to pass that too inside the use
statement (function arguments are URL parameters):
$app->get('/', function () use($home, $app) {
$vr = $home->index();
echo $vr;
// $app is accesible too...
});