refactor in multiple files
refactor in multiple files
started to implement redis queue