Pass app reference to rake task

Waiting on #62 and build to start working again.