Convert Environment to interface type
Merge pull request #1 from hailocab/environment

Convert Environment to interface type