reduce bundle size and use winston everywhere