Adds sandbox environment for generator

This adds enabling sandbox mode for testing.
The functionality was already existing (since #31) but not added to the generator yet.