json fomat
new commands
many code improvements