Use PHP_EOL instead for better log display
Dynamically save log name based on context
Add initial upgrader class
Add pre and post restore functionality
Minor change to log saving function