added environment service

creates %t/environment file with useful environment
variables like PATH that might be needed by
other services