added better output. wrote composer. wrote output. wrote query
added swaps to ignore dotfile
fixed bug with no query specified