Extract Request class from Worker; create namespace classes for constants