Added initial save functionality
Improved logging so that logLocation does not need to be passed to Log.write every time.