Move save file logic into own function
Rationalise logger config
Add test target
No need for es5: true
No need for es5
Add server