remove unnecessary gemfiles
added advanced query form