[ADD] interfaces to srv model; [CHANGE] make env resource work;