Added footer and implemented resque for background jobs