Created env setup class.
Split up scripts in two parts.