[refactoring] introduce per-env attributes & split servers into two nodes