Revert "Added environment (sandbox and production) support in the constructor"

This reverts commit 9e9e9dea6401f03c66e03ad28653aa1b38468db8.