Added logs folder to gitignore, added logging rather than printing out to the command line.