Added json-parser submodule for tests/.
Split of src/ into lib/ and plugins/.