implemented query, save, find, and validate configuration with tests