add findVirtualServerByPool method & refactor constants