adding gitignore and Query classes