update gitignore and remove obsolete comments