Added info
Fix so that file is created correctly

Initiated as an object for easier use later