Moved duplicate constructor code to initialize()

Also updated .gitignore to ignore new log files