Adding total time to generated stats.
adding helper to create absolute url
fixing incorrect import path