Refactored InitializationHelper so it can take an InputStream

Also renamed it to PrivilegeInitializationHelper