Refactoring, Notifications management, worker and cyclic, prepare mail template for #43