Removed environment path constants from Config.

Replaced them with a method to dynamically lookup the directory name
for the given environment.