added writeToFile helper method
added defaultAppData() helper method
added EnvironmentIdentifier for unique id of current machine + OS