add examples
Move JSON to a separate mod