add: a JSON format for patterns. closes #20.
add: a Pattern object. #21
up: able to load the patterns JSON. closes #21