move environment to config dir, update all require_relative