remove console.log
update gitignore
minor fixes & formatting