This commit removes certain file-based functions from 'pkg/environment', continuing the migration to entirely remove the package.
This commit adds a new option to the admin interface to purge an instance. This requires the user to manually confirm the name of the instance.