added rapidjson
route events in and out
updated test-application