moved importing of weekly commits into models and extracted method