first
added prettify, query
basic working
more testing